import Vue from 'vue'
import App from './App.vue'
import store from './store/store';
import {
  Tag,
  Button ,
  icon,
  Input,
  Dialog ,
  RadioGroup,
  RadioButton,
  Message
 } from 'element-ui';
Vue.use(Tag);
Vue.use(Button);
Vue.use(icon);
Vue.use(Input);
Vue.use(Dialog);
Vue.use(RadioGroup);
Vue.use(RadioButton);
Vue.use(Message);
Vue.prototype.$message = Message;
Message.closeAll()
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  store,
  beforeCreate(){
    Vue.prototype.$bus = this //安装全局事件总线
  }
}).$mount('#app')
